package org.coder.consumer_sentinel_9005.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.coder.consumer_sentinel_9005.controller.SentinelBlockHandler;
import org.springframework.stereotype.Service;

@Service
public class WebLinkServicreImpl implements WebLinkService{

    @Override
    @SentinelResource(value = "chain",
            blockHandlerClass = SentinelBlockHandler.class,
            blockHandler = "chainBlockHandler")
    public String testChain() {
        return "testChain";
    }
}
